package com.woniuxy.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "MaintainRecord",description = "保养记录表")
public class MaintainRecord implements Serializable {
    @ApiModelProperty(value = "[自动增长]主键")
    private int id;
    @ApiModelProperty(value = "车辆ID")
    private Car car;
    @ApiModelProperty(value = "保养类型ID")
    private Dictionary dictionary;
    @ApiModelProperty(value = "保养日期")
    private Date main_date;
    @ApiModelProperty(value = "保养金额")
    private double main_amount;
    @ApiModelProperty(value = "保养单位ID")
    private CurrentUnit currentUnit;
    @ApiModelProperty(value = "保养里程")
    private double main_mil;
    @ApiModelProperty(value = "保养内容")
    private String main_content;
    @ApiModelProperty(value = "下次保养日期")
    private Date next_date;
    @ApiModelProperty(value = "下次保养里程")
    private double next_mil;
    @ApiModelProperty(value = "经办人")
    private User user;
    @ApiModelProperty(value = "备注")
    private String remarks;

}
